package com.ruoyi.report.service;

import java.util.List;
import com.ruoyi.report.domain.ReportOilDepot;

/**
 * 油库Service接口
 *
 * @author ruoyi
 * @date 2024-10-15
 */
public interface IReportOilDepotService
{
    /**
     * 查询油库
     *
     * @param id 油库主键
     * @return 油库
     */
    public ReportOilDepot selectReportOilDepotById(Long id);

    /**
     * 查询油库列表
     *
     * @param reportOilDepot 油库
     * @return 油库集合
     */
    public List<ReportOilDepot> selectReportOilDepotList(ReportOilDepot reportOilDepot);
    Integer countTodayRecordsDepot( Long deptId);
    /**
     * 新增油库
     *
     * @param reportOilDepot 油库
     * @return 结果
     */
    public int insertReportOilDepot(ReportOilDepot reportOilDepot);

    /**
     * 修改油库
     *
     * @param reportOilDepot 油库
     * @return 结果
     */
    public int updateReportOilDepot(ReportOilDepot reportOilDepot);

    /**
     * 批量删除油库
     *
     * @param ids 需要删除的油库主键集合
     * @return 结果
     */
    public int deleteReportOilDepotByIds(Long[] ids);

    /**
     * 删除油库信息
     *
     * @param id 油库主键
     * @return 结果
     */
    public int deleteReportOilDepotById(Long id);
}
